﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Supervisors/SupervisorMaster.Master" AutoEventWireup="true" CodeBehind="ApproveAdjustment.aspx.cs" Inherits="LogicUniversity.Supervisors.ApproveAdjustment" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
    <form id="form1" runat="server">
        <div class="row-fluid">
            <div class="span3">
                <h4>Adjustment Items Under $250</h4>
            </div>
        </div>
        <div class="row-fluid">
            <div class="span4">
                <asp:Label ID="lblMsg" runat="server" Font-Bold="true" ></asp:Label>
            </div>
        </div>
        <div class="row-fluid">
            <div class="span8">
                <asp:GridView CssClass="table table-hover" GridLines="None" ID="AdjustmentItemsView" runat="server" 
                    AutoGenerateColumns="False">
                    <Columns>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <asp:HiddenField ID="voucherID" Value='<%#Eval("VoucherID") %>' runat="server" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="ItemCode" HeaderText="Item Code" />
                        <asp:BoundField DataField="QuantityAdj" HeaderText="Qty Adjusted" />
                        <asp:BoundField DataField="Reason" HeaderText="Reason" />
                        <asp:BoundField DataField="TotalCost" HeaderText="Total Cost" />
                    </Columns>
                </asp:GridView>
            </div>
        </div>
        <br />
        <div class="row-fluid">
            <div class="span3 offset6">
                <asp:Button ID="btnApprove" CssClass="btn btn-primary" runat="server" 
                    Text="Approve" onclick="btnApprove_Click" />
            </div>
        </div>
    </form>
</asp:Content>
